package it.antonio.ilpizze.mock;

import it.antonio.ilpizze.mock.matchers.AnyArgumentMatcher;
import it.antonio.ilpizze.mock.matchers.EqualArgumentMatcher;

public class ArgumentMatchers extends Verifications {

	public static <T> T any(Class<T> clazz){
		register(new AnyArgumentMatcher());
		return null;
	}
	public static String anyString(){
		return any(String.class);
	}
	public static Integer anyInt(){
		return any(Integer.class);
	}
	
	public static <T> T eq(T instance){
		register(new EqualArgumentMatcher(instance));
		return null;
	}
	
	protected static void register(ArgumentMatcher matcher){
		Progress.addMatcher(matcher);
	}
	
	
}
